meson: Stop using fallback: kwarg for deps that don't need it
authorNirbheek Chauhan <nirbheek@centricular.com>
Sun, 18 Dec 2022 01:30:44 +0000 (07:00 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Sun, 18 Dec 2022 21:39:11 +0000 (03:09 +0530)
commit53c37cfc177d227af5612fff248942b0c0017e0a
tree6fbd9c6e91960e098328d09cdc77e9c50e67296f
parent1a1f92178e5e97af6e0ae2fb20f26496158b4326
meson: Stop using fallback: kwarg for deps that don't need it

Subprojects that use meson.override_dependency() do not require the
caller to provide the dependency variable name inside the subproject.

We also don't want to provide the *subproject* name, because the
subproject name can be `pango-1.50.12` instead of `pango` when using
wrap-file to download the tarball instead of using wrap-git. This
causes the pango subproject to be executed twice when using gtk as
a subproject inside gstreamer (which uses pango-1.50.12 as
a wrap-file).

All the dependencies we use can be switched in this way, but the
remaining ones need to be changed to use meson.override_dependency()
first.
12 files changed:
meson.build
subprojects/cairo.wrap
subprojects/fribidi.wrap [new file with mode: 0644]
subprojects/gdk-pixbuf.wrap
subprojects/glib.wrap
subprojects/graphene.wrap
subprojects/harfbuzz.wrap
subprojects/libcloudproviders.wrap
subprojects/libepoxy.wrap
subprojects/pango.wrap
subprojects/sysprof.wrap
subprojects/wayland.wrap